package com.meng.menggaga.ui;

import android.os.Bundle;
import android.view.MenuItem;

import com.meng.menggaga.R;


/**
 * 注册
 * 
 * @author simba
 * 
 */
public class RegisterActvity extends BaseActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getSupportActionBar().setTitle(R.string.register);
    }

    @Override
    protected int layoutResId() {
        return R.layout.activity_register;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        int id = item.getItemId();
        if (id == android.R.id.home) {
            finish();
            return true;
        }
        return super.onOptionsItemSelected(item);
    }
}
